package com.dykj.fireFighting.server.socialUnit.devicemanger.service.impl;

import com.dykj.fireFighting.api.socialUnit.devicemanger.entity.DeviceTradition;
import com.dykj.fireFighting.api.socialUnit.devicemanger.service.IDeviceTraditionService;
import com.dykj.fireFighting.common.core.service.impl.BaseServiceImpl;
import com.dykj.fireFighting.server.socialUnit.devicemanger.mapper.DeviceTraditionMapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * 设备管理-传统设备表
 *
 * @Author aixiaolan
 * @Date  2021-06-21 15:25:03
 */
@Slf4j
@DubboService
@Transactional(rollbackFor = Exception.class)
public class DeviceTraditionServiceImpl extends BaseServiceImpl<DeviceTraditionMapper, DeviceTradition> implements IDeviceTraditionService {
    @Override
    public List<DeviceTradition> getList(String unitId){
      return baseMapper.getList(unitId);
    }
}
